<template>
  <el-form inline label-width="90px">
    <el-form-item label="交易编号">
      <!-- 收集交易编号数据 -->
      <el-input placeholder="请输入交易编号" v-model="searchForm.outTradeNo" style="width: 140px"></el-input>
    </el-form-item>
    <el-form-item label="收货人">
      <!-- 收集收货人数据 -->
      <el-input placeholder="请输入收货人" v-model="searchForm.consignee" style="width: 140px"></el-input>
    </el-form-item>
    <el-form-item label="收货人电话">
      <!-- 收集收货人电话 -->
      <el-input placeholder="请输入收货人电话" v-model="searchForm.consigneeTel" style="width: 140px"></el-input>
    </el-form-item>
    <el-form-item label="收货地址">
      <!-- 收集收货人地址 -->
      <el-input placeholder="请输入收货地址" v-model="searchForm.deliveryAddress" style="width: 140px"></el-input>
    </el-form-item>
    <el-form-item label="订单状态">
      <!-- 收集订单状态 -->
      <el-select v-model="searchForm.orderStatus" style="width: 140px">
        <el-option label="已支付" value="PAID"> </el-option>
        <el-option label="未支付" value="UNPAID"> </el-option>
        <el-option label="支付" value="FINISHED"> </el-option>
      </el-select>
    </el-form-item>
    <el-form-item label="创建时间">
      <!-- <el-input placeholder="创建时间"></el-input> -->
      <el-date-picker
        v-model="searchForm.createTimeBegin"
        type="datetime"
        placeholder="创建时间"
        style="width: 140px"
        @change="getSTimeBegin"
      />
    </el-form-item>
    <el-form-item label="过期时间">
      <!-- <el-input placeholder="过期时间"></el-input> -->
      <el-date-picker
        v-model="searchForm.createTimeEnd"
        type="datetime"
        placeholder="过期时间"
        style="width: 140px"
        @change="getSTimeEnd"
      />
    </el-form-item>
    <el-form-item>
      <el-button type="primary" @click="resetSearchOrderList">重置</el-button>
      <el-button type="primary" @click="searchOrderList">搜索</el-button>
      <el-button type="primary" @click="searchOrderList">设置排序</el-button>
    </el-form-item>
  </el-form>
</template>

<script setup lang="ts"></script>

<style scoped></style>
